package com.superatom.springframework.beans.factory.parsing;

import com.superatom.springframework.beans.factory.BeanDefinitionStoreException;

/**
 * @author Kwokchiu Wong
 * @Title:
 * @Package
 * @Description:
 * @date 2020/10/19 10:35 上午
 */
public class BeanDefinitionParsingException extends BeanDefinitionStoreException {

    /**
     * Create a new BeanDefinitionParsingException.
     * @param problem the configuration problem that was detected during the parsing process
     */
    public BeanDefinitionParsingException(Problem problem) {
        super(problem.getResourceDescription(), problem.toString(), problem.getRootCause());
    }

}
